//
//  NetSettingTipsVC.m
//  Childrenpark
//
//  Created by Andy on 2019/5/13.
//  Copyright © 2019 eios. All rights reserved.
//

#import "NetSettingTipsVC.h"

@interface NetSettingTipsVC ()

@end

@implementation NetSettingTipsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSMutableAttributedString *AttributedStr = [[NSMutableAttributedString alloc]initWithString:lab.text];
    
    UIFont *font = [UIFont systemFontOfSize:17 weight:2];
    [AttributedStr addAttribute:NSFontAttributeName
                               value:font
                          range:NSMakeRange(26, 2)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(26, 2)];
    
    [AttributedStr addAttribute:NSFontAttributeName
                          value:font
                          range:NSMakeRange(32,8)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(32,8)];
    
    [AttributedStr addAttribute:NSFontAttributeName
                          value:font
                          range:NSMakeRange(71,2)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(71,2)];
    
    [AttributedStr addAttribute:NSFontAttributeName
                          value:font
                          range:NSMakeRange(78,2)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(78,2)];
    
    [AttributedStr addAttribute:NSFontAttributeName
                          value:font
                          range:NSMakeRange(85,2)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(85,2)];
    
    [AttributedStr addAttribute:NSFontAttributeName
                          value:font
                          range:NSMakeRange(96,4)];
    
    [AttributedStr addAttribute:NSForegroundColorAttributeName
                          value:[UIColor blackColor]
                          range:NSMakeRange(96,4)];
    
    lab.attributedText = AttributedStr;
}
- (IBAction)back:(UIButton *)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
